-- Do not manually edit this file, it was auto-generated by dillonkearns/elm-graphql
-- https://github.com/dillonkearns/elm-graphql


module Qore.Object.Maintenanceagency exposing (..)

import Graphql.Internal.Builder.Argument as Argument exposing (Argument)
import Graphql.Internal.Builder.Object as Object
import Graphql.Internal.Encode as Encode exposing (Value)
import Graphql.Operation exposing (RootMutation, RootQuery, RootSubscription)
import Graphql.OptionalArgument exposing (OptionalArgument(..))
import Graphql.SelectionSet exposing (SelectionSet)
import Json.Decode as Decode
import Qore.InputObject
import Qore.Interface
import Qore.Object
import Qore.Scalar
import Qore.ScalarCodecs
import Qore.Union


agencycode : SelectionSet decodesTo Qore.Object.Agencycode -> SelectionSet (Maybe decodesTo) Qore.Object.Maintenanceagency
agencycode object_ =
    Object.selectionForCompositeField "agencycode" [] object_ (identity >> Decode.nullable)


otheragencycode : SelectionSet decodesTo Qore.Object.Otheragencycode -> SelectionSet (List decodesTo) Qore.Object.Maintenanceagency
otheragencycode object_ =
    Object.selectionForCompositeField "otheragencycode" [] object_ (identity >> Decode.list)


agencyname : SelectionSet decodesTo Qore.Object.Agencyname -> SelectionSet (List decodesTo) Qore.Object.Maintenanceagency
agencyname object_ =
    Object.selectionForCompositeField "agencyname" [] object_ (identity >> Decode.list)


descriptivenote : SelectionSet decodesTo Qore.Object.Descriptivenote -> SelectionSet (Maybe decodesTo) Qore.Object.Maintenanceagency
descriptivenote object_ =
    Object.selectionForCompositeField "descriptivenote" [] object_ (identity >> Decode.nullable)


id : SelectionSet (Maybe String) Qore.Object.Maintenanceagency
id =
    Object.selectionForField "(Maybe String)" "id" [] (Decode.string |> Decode.nullable)


altrender : SelectionSet (Maybe String) Qore.Object.Maintenanceagency
altrender =
    Object.selectionForField "(Maybe String)" "altrender" [] (Decode.string |> Decode.nullable)


audience : SelectionSet (Maybe String) Qore.Object.Maintenanceagency
audience =
    Object.selectionForField "(Maybe String)" "audience" [] (Decode.string |> Decode.nullable)


lang : SelectionSet (Maybe String) Qore.Object.Maintenanceagency
lang =
    Object.selectionForField "(Maybe String)" "lang" [] (Decode.string |> Decode.nullable)


script : SelectionSet (Maybe String) Qore.Object.Maintenanceagency
script =
    Object.selectionForField "(Maybe String)" "script" [] (Decode.string |> Decode.nullable)


encodinganalog : SelectionSet (Maybe String) Qore.Object.Maintenanceagency
encodinganalog =
    Object.selectionForField "(Maybe String)" "encodinganalog" [] (Decode.string |> Decode.nullable)


countrycode : SelectionSet (Maybe String) Qore.Object.Maintenanceagency
countrycode =
    Object.selectionForField "(Maybe String)" "countrycode" [] (Decode.string |> Decode.nullable)
